<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <!-- el-date-picker
         v-model:双向绑定
         type:日期类型        
        -->
      <p>{{myDate}}</p>
      <el-date-picker v-model="myDate" type="date"> </el-date-picker>
    </div>
    <script src="./vue.js"></script>
    <link rel="stylesheet" href="./ele.css" />
    <script src="./index.js"></script>
    <script>
      new Vue({
        el: "#app",
        data: {
          myDate: "",
        },
      });
    </script>
  </body>
</html>
